What goes into moving from profiling the performance of a Python program to optimizing it? What are common techniques you should consider for speeding up your code, and which ones should you avoid? Christopher Trudeau is back on the show this week with another batch of PyCoder's Weekly articles and projects.
👉 Links from the show:
We cover a recent Real Python practical guide about optimizing Python performance. The piece goes beyond the first step of finding the slow areas of code through profiling and into specific optimization techniques. We discuss choosing better algorithms and data structures, caching results, and using tools from the standard library.
We also share other articles and projects from the Python community, including recent releases, a pair of Python Enhancement Proposals, using Django as a simple static site builder, how a Python type checker decides a variable is unused, pull request limits for the CPython repo, a Postman alternative built in Python using Textual, and a world clock for the terminal.
Topics:
- 00:00:00 -- Introduction
- 00:02:04 -- Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 Released
- 00:02:34 -- Python 3.16.0 alpha 2 is now available
- 00:03:08 -- Django Security Releases Issued: 6.1.3, 6.0.10, and 5.2.19
- 00:03:25 -- Advice on managing security releases and updates
- 00:09:06 -- PEP 850: Wheel Variants: Providers
- 00:09:49 -- PEP 836: JIT Go Brrr: Python's Experimental JIT to Be Removed
- 00:11:17 -- Announcing New Secu
|
Download your free Python Cheat Sheet he...
Download your free Python Cheat Sheet he...
What goes into moving from profiling the...
本日はGoogle タスクについてお話させて頂きました! ぜひご視聴ください! ...
Build an AI Agent From Scratch in Python...
🔥Meta - Digital Marketing Specialist - ...
Speed up Android developer verification ...
Download your free Python Cheat Sheet he...
🔥Microsoft Applied Agentic AI: Systems D...
🔥Microsoft Azure Solutions Architect Exp...
🔥Microsoft Applied Agentic AI: Systems D...
🔥Microsoft Applied Agentic AI: Systems D...
How did a simple 2D game released in 199...